//
// Created by wxd on 2025/8/27.
//

#pragma once

#ifndef BASETEXTURE_H
#define BASETEXTURE_H

#include <string>
#include "ITexture.h"
#include "../utils/RenderEngineLogger.h"
#include "../global/generator_id.h"

class BaseTexture : public ITexture {
public:

    BaseTexture() {
        m_TextureTraceId = IDGenerator::getInstance().generateString(IDPrefix::TEXTURE);
        Log.msg("BaseTexture").param("TextureTraceID", m_TextureTraceId).d();
    }

    std::string getTraceId() const override;

private:
    std::string m_TextureTraceId;
};

#endif //BASETEXTURE_H
